package com.qinghuan.threads.chapterThree;

import java.util.concurrent.ThreadLocalRandom;

/**
 * @Author: dubao
 * @Date: 2022/5/22 10:42
 * @Description:
 */
public class Test3_1_2 {

    public static void main(String[] args) {
        ThreadLocalRandom random = ThreadLocalRandom.current();
        for (int i=0; i<10; i++) {
            System.out.println(random.nextInt(5));
        }
    }

}
